package com.ruoyi.module.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 提现管理对象 fu_withdrawal_amount
 *
 * @author fubojin
 * @date 2025-01-10
 */
@Data
@ApiModel(value = "提现管理")
@EqualsAndHashCode(callSuper = true)
public class WithdrawalAmount extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /**
     * 提现组织
     */
    @Excel(name = "提现组织")
    @ApiModelProperty(value = "提现组织")
    private Long deptId;

    /**
     * 提现组织名称
     */
    @Excel(name = "提现组织名称")
    @ApiModelProperty(value = "提现组织名称")
    private String deptName;

    /**
     * 提现单号
     */
    @Excel(name = "提现单号")
    @ApiModelProperty(value = "提现单号")
    private String withdrawalNumber;

    /**
     * 提现位置（1-提现到微信，2-提现到银行卡）
     */
    @Excel(name = "提现位置", readConverterExp = "1=-提现到微信，2-提现到银行卡")
    @ApiModelProperty(value = "提现位置（1-提现到微信，2-提现到银行卡）")
    private Long withdrawalType;

    /**
     * 审核(1-待审核，2-取消，3-审核通过，4-审核不通过)
     */
    @Excel(name = "审核(1-待审核，2-取消，3-审核通过，4-审核不通过)")
    @ApiModelProperty(value = "审核(1-待审核，2-取消，3-审核通过，4-审核不通过)")
    private Integer audit;

    /**
     * 审核不通过原因
     */
    @Excel(name = "审核不通过原因")
    @ApiModelProperty(value = "审核不通过原因")
    private String auditReason;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    @ApiModelProperty(value = "姓名")
    private String name;

    /**
     * 银行卡号
     */
    @Excel(name = "银行卡号")
    @ApiModelProperty(value = "银行卡号")
    private String creditCardNumbers;

    /**
     * 开户行
     */
    @Excel(name = "开户行")
    @ApiModelProperty(value = "开户行")
    private String openingBank;

    /**
     * 提现金额
     */
    @Excel(name = "提现金额")
    @ApiModelProperty(value = "提现金额")
    private BigDecimal withdMount;

    /**
     * 提现操作人
     */
    @Excel(name = "提现操作人")
    @ApiModelProperty(value = "提现操作人")
    private Long withdUserId;

    /**
     * 审核时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "审核时间")
    private Date auditTime;


}
